package com.flyco.modules.report.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 报表配置
 * @Author: flyco
 * @Date:   2019-12-11
 * @Version: V1.0
 */
@Data
@TableName("report_sql_config")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="report_sql_config对象", description="报表配置")
public class ReportSqlConfig {
    
	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
	private String id;
	/**分组ID*/
	@Excel(name = "分组ID", width = 15)
	@ApiModelProperty(value = "分组ID")
	private Long groupId;
	/**code*/
	@Excel(name = "code", width = 15)
    @ApiModelProperty(value = "code")
	private String code;
	/**名称*/
	@Excel(name = "name", width = 15)
	@ApiModelProperty(value = "name")
	private String name;
	/**类型*/
	@Excel(name = "类型", width = 15)
    @ApiModelProperty(value = "类型")
	private String type;
	/**查询sql*/
	@Excel(name = "查询sql", width = 15)
    @ApiModelProperty(value = "查询sql")
	private Object paramData;
	/**列表表头配置信息*/
	@Excel(name = "列表表头配置信息", width = 15)
    @ApiModelProperty(value = "列表表头配置信息")
	private Object columns;
	/**页面配置信息*/
	@Excel(name = "页面配置信息", width = 15)
    @ApiModelProperty(value = "页面配置信息")
	private Object pageData;
	/**url*/
	@Excel(name = "url", width = 15)
	@ApiModelProperty(value = "url")
	private String url;
	/**显示状态,0：不显示,1：显示*/
	@Excel(name = "显示状态", width = 15)
	@ApiModelProperty(value = "显示状态")
	private Integer showStatus;
	/**展示的系统；shop门店, online新商城,admin后台*/
	@Excel(name = "展示的系统；shop门店, online新商城,admin后台", width = 15)
	@ApiModelProperty(value = "展示的系统；shop门店, online新商城,admin后台")
	private String sourceSystem;
	/**排序*/
	@Excel(name = "排序", width = 15)
	@ApiModelProperty(value = "排序")
	private Integer sort;
	/**数据源*/
	@Excel(name = "数据源", width = 15)
	@ApiModelProperty(value = "数据源")
	private String dataSource;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
}
